#ifndef TRANSCALCWINDOW_H
#define TRANSCALCWINDOW_H

#include <QMainWindow>
#include "../OPTC/Calc.h"

namespace Ui {
    class TranscalcWindow;
}

class TranscalcWindow : public QMainWindow {
    Q_OBJECT
public:
    TranscalcWindow(QWidget *parent = 0);
    ~TranscalcWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::TranscalcWindow *ui;
    Calc calc;

private slots:
    void on_formulaEntry_returnPressed();
};

#endif // TRANSCALCWINDOW_H
